package com.lkm.market2_0.m.steelyarddata;

import com.lkm.frame.otto.LinkBusEventFlag;
import com.lkm.frame.otto.ThreadEnforcer;
import com.lkm.market2_0.entity.BreedTo;

import java.util.List;

public class OnBreedChangeEvent implements LinkBusEventFlag {


    private final List<BreedTo> breedToList;

    public OnBreedChangeEvent(List<BreedTo> breedToList) {
        this.breedToList = breedToList;
    }

    public List<BreedTo> getBreedToList() {
        return breedToList;
    }

    @Override
    public ThreadEnforcer getThreadEnforcer() {
        return ThreadEnforcer.MAIN;
    }

    @Override
    public boolean isStickyBroadcast() {
        return true;
    }
}
